retrieve name and path of current file